package com.tte.common.service;

import java.io.IOException;
import java.util.List;
import java.util.Map;

public interface ExcelService {

    List<Map<String,String>> readExcel(String path) throws IOException;

    boolean write(Object o,String path,int pageSize);

    /**
     * @Param pageSize 每页多少
     * @Param pageNum 只打印多少页
     * @return:
     */
    boolean write(Object o,String path,int pageSize,int pageNum);

}
